﻿#!/bin/sh

#该文件为openstack queens版安装controller节点所需软件包 

echo '=========================================chronyd：All Node';
yum install -y chrony 

echo '=========================================openstack软件仓库（Queens版本）：All Node';
yum install -y centos-release-openstack-queens 

echo '=========================================openstack-utils：All Node 本地包没有这个';
yum install openstack-utils -y

echo '=========================================openstack-client：All Node';
yum install -y python-openstackclient 

echo '=========================================openstack-selinux：All Node ';
yum install -y openstack-selinux 

echo '=========================================mariadb：controller ';
yum install -y mariadb mariadb-server python2-PyMySQL 

echo '=========================================rabbit MQ：controller  ';
yum install -y rabbitmq-server 

echo '=========================================memcached：controller ';
yum install -y memcached python-memcached 

echo '=========================================Etcd：controller ';
yum install -y etcd 

echo '=========================================Keystone：controller ';
yum install -y openstack-keystone httpd mod_wsgi 

echo '=========================================glance：controller ';
yum install -y openstack-glance 

echo '=========================================nova： controller  ';
yum install -y openstack-nova-api openstack-nova-conductor  openstack-nova-console openstack-nova-novncproxy  openstack-nova-scheduler openstack-nova-placement-api

echo '=========================================nova： compute ';
yum install -y openstack-nova-compute 

echo '=========================================neutron： controller ';
yum install -y openstack-neutron openstack-neutron-ml2 openstack-neutron-linuxbridge ebtables 

echo '=========================================neutron： compute ';
yum install -y openstack-neutron-linuxbridge ebtables ipset 

echo '=========================================horizon：controller';
yum install -y openstack-dashboard 

echo '=========================================cinder：controller';
yum install -y openstack-cinder

echo '=========================================lvm：cinder';
yum install lvm2 device-mapper-persistent-data -y

echo '=========================================cinder：cinder';
yum install openstack-cinder targetcli python-keystone -y

